package com.skt.common_hr.holotreq_nos.model.vo
{
	import mx.formatters.DateFormatter;

	public class VacationQuotaVO2
	{
		public var VACAGBN:String;
		public var POS_DAY:Number;
		public var USE_DAY:Number;
		public var RES_DAY:Number;
		public var PRE_DAY:Number;
		public var BEGDA:Date;
		public var ENDDA:Date;

		public function get term():String
		{
			var formatter:DateFormatter = new DateFormatter();
			formatter.formatString = "YY.MM.DD";

			return formatter.format(BEGDA) + "~" + formatter.format(ENDDA);
		}

		public function get days():String
		{
			return POS_DAY + " / " + USE_DAY;
		}
	}
}